package com.zf.shuashua.advert.mg;

import java.io.Serializable;
import java.util.List;

public class AdRequestBean implements Serializable {


    /**
     * impInfo : [{"posId":10018,"adNum":1,"width":720,"height":1280}]
     * adType : 1
     * networkInfo : {"ip":"14.20.89.248","userAgent":"Mozilla/5.0 (Linux; Android 7.1.1; 1707-A01 Build/NMF26X; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/59.0.3071.82 Mobile Safari/537.36","operatorType":1,"connectionType":100,"mac":"18:e2:9f:0f:08:00","mno":"46000"}
     * appInfo : {"appId":"ERRRaIIYGq","packageName":"com.mangguo"}
     * sdkVersion : 1.0
     * protocolVersion : 1
     * deviceInfo : {"deviceType":1,"screenWidth":480,"screenHeight":854,"imsi":"460036531776709","manufacture":"360","osv":"7.1.1","osType":1,"imei":"A10000559B09ED","screenType":2,"model":"1707-A01A","dpi":200,"brand":"360","oaid":"","androidId":"9774D56D682E542C"}
     */

    private int adType;
    private NetworkInfoBean networkInfo;
    private AppInfoBean appInfo;
    private String sdkVersion;
    private String protocolVersion;
    private DeviceInfoBean deviceInfo;
    private List<ImpInfoBean> impInfo;

    public int getAdType() {
        return adType;
    }

    public void setAdType(int adType) {
        this.adType = adType;
    }

    public NetworkInfoBean getNetworkInfo() {
        return networkInfo;
    }

    public void setNetworkInfo(NetworkInfoBean networkInfo) {
        this.networkInfo = networkInfo;
    }

    public AppInfoBean getAppInfo() {
        return appInfo;
    }

    public void setAppInfo(AppInfoBean appInfo) {
        this.appInfo = appInfo;
    }

    public String getSdkVersion() {
        return sdkVersion;
    }

    public void setSdkVersion(String sdkVersion) {
        this.sdkVersion = sdkVersion;
    }

    public String getProtocolVersion() {
        return protocolVersion;
    }

    public void setProtocolVersion(String protocolVersion) {
        this.protocolVersion = protocolVersion;
    }

    public DeviceInfoBean getDeviceInfo() {
        return deviceInfo;
    }

    public void setDeviceInfo(DeviceInfoBean deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public List<ImpInfoBean> getImpInfo() {
        return impInfo;
    }

    public void setImpInfo(List<ImpInfoBean> impInfo) {
        this.impInfo = impInfo;
    }

    public static class NetworkInfoBean {
        /**
         * ip : 14.20.89.248
         * userAgent : Mozilla/5.0 (Linux; Android 7.1.1; 1707-A01 Build/NMF26X; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/59.0.3071.82 Mobile Safari/537.36
         * operatorType : 1
         * connectionType : 100
         * mac : 18:e2:9f:0f:08:00
         * mno : 46000
         */

        private String ip;
        private String userAgent;
        private int operatorType;
        private int connectionType;
        private String mac;
        private String mno;

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getUserAgent() {
            return userAgent;
        }

        public void setUserAgent(String userAgent) {
            this.userAgent = userAgent;
        }

        public int getOperatorType() {
            return operatorType;
        }

        public void setOperatorType(int operatorType) {
            this.operatorType = operatorType;
        }

        public int getConnectionType() {
            return connectionType;
        }

        public void setConnectionType(int connectionType) {
            this.connectionType = connectionType;
        }

        public String getMac() {
            return mac;
        }

        public void setMac(String mac) {
            this.mac = mac;
        }

        public String getMno() {
            return mno;
        }

        public void setMno(String mno) {
            this.mno = mno;
        }
    }

    public static class AppInfoBean {
        /**
         * appId : ERRRaIIYGq
         * packageName : com.mangguo
         */

        private String appId;
        private String packageName;

        public String getAppId() {
            return appId;
        }

        public void setAppId(String appId) {
            this.appId = appId;
        }

        public String getPackageName() {
            return packageName;
        }

        public void setPackageName(String packageName) {
            this.packageName = packageName;
        }
    }

    public static class DeviceInfoBean {
        /**
         * deviceType : 1
         * screenWidth : 480
         * screenHeight : 854
         * imsi : 460036531776709
         * manufacture : 360
         * osv : 7.1.1
         * osType : 1
         * imei : A10000559B09ED
         * screenType : 2
         * model : 1707-A01A
         * dpi : 200
         * brand : 360
         * oaid :
         * androidId : 9774D56D682E542C
         */

        private int deviceType;
        private int screenWidth;
        private int screenHeight;
        private String imsi;
        private String manufacture;
        private String osv;
        private String osc;
        private int osType;
        private String imei;
        private int screenType;
        private String model;
        private int dpi;
        private String dip;
        private String serialno;
        private String brand;
        private String oaid;
        private String androidId;

        public String getOsc() {
            return osc;
        }

        public void setOsc(String osc) {
            this.osc = osc;
        }

        public int getDeviceType() {
            return deviceType;
        }

        public void setDeviceType(int deviceType) {
            this.deviceType = deviceType;
        }

        public int getScreenWidth() {
            return screenWidth;
        }

        public void setScreenWidth(int screenWidth) {
            this.screenWidth = screenWidth;
        }

        public int getScreenHeight() {
            return screenHeight;
        }

        public void setScreenHeight(int screenHeight) {
            this.screenHeight = screenHeight;
        }

        public String getImsi() {
            return imsi;
        }

        public void setImsi(String imsi) {
            this.imsi = imsi;
        }

        public String getManufacture() {
            return manufacture;
        }

        public void setManufacture(String manufacture) {
            this.manufacture = manufacture;
        }

        public String getOsv() {
            return osv;
        }

        public void setOsv(String osv) {
            this.osv = osv;
        }

        public int getOsType() {
            return osType;
        }

        public void setOsType(int osType) {
            this.osType = osType;
        }

        public String getImei() {
            return imei;
        }

        public void setImei(String imei) {
            this.imei = imei;
        }

        public int getScreenType() {
            return screenType;
        }

        public void setScreenType(int screenType) {
            this.screenType = screenType;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public int getDpi() {
            return dpi;
        }

        public void setDpi(int dpi) {
            this.dpi = dpi;
        }

        public String getDip() {
            return dip;
        }

        public void setDip(String dip) {
            this.dip = dip;
        }

        public String getSerialno() {
            return serialno;
        }

        public void setSerialno(String serialno) {
            this.serialno = serialno;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public String getOaid() {
            return oaid;
        }

        public void setOaid(String oaid) {
            this.oaid = oaid;
        }

        public String getAndroidId() {
            return androidId;
        }

        public void setAndroidId(String androidId) {
            this.androidId = androidId;
        }
    }

    public static class ImpInfoBean {
        /**
         * posId : 10018
         * adNum : 1
         * width : 720
         * height : 1280
         */

        private int posId;
        private int adNum;
        private int width;
        private int height;

        public int getPosId() {
            return posId;
        }

        public void setPosId(int posId) {
            this.posId = posId;
        }

        public int getAdNum() {
            return adNum;
        }

        public void setAdNum(int adNum) {
            this.adNum = adNum;
        }

        public int getWidth() {
            return width;
        }

        public void setWidth(int width) {
            this.width = width;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }
    }
}
